gtk4.git
10 years agowin32 fallback: Add code to draw titlebars
Benjamin Otte [Sun, 21 Feb 2016 04:37:40 +0000 (05:37 +0100)]
win32 fallback: Add code to draw titlebars

10 years agowin32 fallback: Warn if we don't know how to draw a part
Benjamin Otte [Sun, 21 Feb 2016 03:59:13 +0000 (04:59 +0100)]
win32 fallback: Warn if we don't know how to draw a part

10 years agowin32: Implement GetSystemMetric() fallbacks
Benjamin Otte [Sun, 21 Feb 2016 03:56:18 +0000 (04:56 +0100)]
win32: Implement GetSystemMetric() fallbacks

Default values taken from Wine.

10 years agowin32: Move variable definition to not cause gcc warning
Benjamin Otte [Sun, 21 Feb 2016 03:55:55 +0000 (04:55 +0100)]
win32: Move variable definition to not cause gcc warning

It's only used on win32, so only define it there.

10 years agoupdated Punjabi Translation
A S Alam [Sun, 21 Feb 2016 15:31:14 +0000 (09:31 -0600)]
updated Punjabi Translation

10 years agoupdated Punjabi Translation
A S Alam [Sun, 21 Feb 2016 15:31:06 +0000 (09:31 -0600)]
updated Punjabi Translation

10 years agoAdwaita: Drop decoration.ssd selector
Matthias Clasen [Sun, 21 Feb 2016 05:55:41 +0000 (00:55 -0500)]
Adwaita: Drop decoration.ssd selector

We've settled on window.ssd decoration instead.

https://bugzilla.gnome.org/show_bug.cgi?id=760714

10 years agoAdd a release note about drawingarea background
Matthias Clasen [Sun, 21 Feb 2016 05:48:56 +0000 (00:48 -0500)]
Add a release note about drawingarea background

10 years agodrawingarea: Update docs around background handling
Matthias Clasen [Sun, 21 Feb 2016 05:46:54 +0000 (00:46 -0500)]
drawingarea: Update docs around background handling

The behavior changed this cycle. Update the docs to recommend
an explicit gtk_render_background call.

10 years agoprint dialog: More baseline alignment
Matthias Clasen [Sun, 21 Feb 2016 05:09:32 +0000 (00:09 -0500)]
print dialog: More baseline alignment

Some places were missing the right valign setting to make
baselines line up properly.

10 years agodnd: Avoid a crash
Matthias Clasen [Sun, 21 Feb 2016 03:43:43 +0000 (22:43 -0500)]
dnd: Avoid a crash

gtk_image_definition_new_icon_name ("") returns NULL. Bail
out early in this case to avoid unreffing NULL later.

https://bugzilla.gnome.org/show_bug.cgi?id=762392

10 years agocss gadget: Adjust baselines for min-height
Matthias Clasen [Sun, 21 Feb 2016 03:23:28 +0000 (22:23 -0500)]
css gadget: Adjust baselines for min-height

We were forcing the size to be at least min-height, but we left the
baselines as they were, which had the effect of making text e.g
in entries 'stick to the top'.

With this change, we adjust the baseline to keep the ratio of
baseline to height unchanged.

10 years agowin32 theme: Add rudimentary titlebar support
Benjamin Otte [Fri, 19 Feb 2016 08:02:21 +0000 (09:02 +0100)]
win32 theme: Add rudimentary titlebar support

10 years agowin32: Handle size queries for all values
Benjamin Otte [Fri, 19 Feb 2016 08:01:43 +0000 (09:01 +0100)]
win32: Handle size queries for all values

Fall back to GetSystemMetrics() whenever GetThemeSysSize() didn't work.

10 years agowin32: Add missing break in switch statement
Benjamin Otte [Fri, 19 Feb 2016 08:00:24 +0000 (09:00 +0100)]
win32: Add missing break in switch statement

Oops.

10 years agocss: Make outline-offset animatable
Benjamin Otte [Sun, 21 Feb 2016 00:02:15 +0000 (01:02 +0100)]
css: Make outline-offset animatable

CSS claims it should be, so we make it.

10 years agorenderborder: Add API to query the outline clip
Benjamin Otte [Sun, 21 Feb 2016 00:01:41 +0000 (01:01 +0100)]
renderborder: Add API to query the outline clip

And use it in implementation of gadgets.

10 years agocss: Mark outline properties as affecting clip when they do
Benjamin Otte [Sat, 20 Feb 2016 23:56:31 +0000 (00:56 +0100)]
css: Mark outline properties as affecting clip when they do

10 years agoentry: Fix baseline allocation
Matthias Clasen [Sat, 20 Feb 2016 23:55:17 +0000 (18:55 -0500)]
entry: Fix baseline allocation

Position the text on the baseline again.

10 years agobox: Fix rtl allocation with center widget
Matthias Clasen [Sat, 20 Feb 2016 21:41:53 +0000 (16:41 -0500)]
box: Fix rtl allocation with center widget

The code for adjusting the center widget allocation in case
of uneven sides never worked right in RTL. This was finally
noticed for tabs with close button, which commonly use a
centered label.

10 years agoAdwaita: remove unused selector in _common.scss
Lapo Calamandrei [Sat, 20 Feb 2016 18:52:46 +0000 (19:52 +0100)]
Adwaita: remove unused selector in _common.scss

10 years agoRevert "Adwaita: resurrect scale-has-marks-above/below classes"
Lapo Calamandrei [Sat, 20 Feb 2016 18:50:49 +0000 (19:50 +0100)]
Revert "Adwaita: resurrect scale-has-marks-above/below classes"

This reverts commit edcc0c27837955573d159af6fa58e62f402d684b.
Since the colorscale styling is wrong in rtl, need to do things
differntly.

10 years agoAdwaita: move 1px up the check asset
Lapo Calamandrei [Sat, 20 Feb 2016 18:37:21 +0000 (19:37 +0100)]
Adwaita: move 1px up the check asset

10 years agoAdwaita: fix entry progressbar
Lapo Calamandrei [Sat, 20 Feb 2016 18:31:58 +0000 (19:31 +0100)]
Adwaita: fix entry progressbar

it now moves using the whole entry lenght, in the process the
style was tweaked to not need a special case for focused entries.

10 years agoassistant: Add margin to action area
Matthias Clasen [Sat, 20 Feb 2016 16:26:19 +0000 (11:26 -0500)]
assistant: Add margin to action area

We are no longer setting a margin on the content area, so put
one on the action area itself to prevent the buttons from touching
the edge.

https://bugzilla.gnome.org/show_bug.cgi?id=762315

10 years agoAdwaita: resurrect scale-has-marks-above/below classes
Lapo Calamandrei [Sat, 20 Feb 2016 16:17:39 +0000 (17:17 +0100)]
Adwaita: resurrect scale-has-marks-above/below classes

the colorscales use said classes.

10 years agoexpander: Draw focus again
Matthias Clasen [Sat, 20 Feb 2016 16:17:12 +0000 (11:17 -0500)]
expander: Draw focus again

This was lost when GtkExpander was ported to use box gadgets.

10 years agocheck button: Draw focus again
Matthias Clasen [Sat, 20 Feb 2016 15:45:07 +0000 (10:45 -0500)]
check button: Draw focus again

The box gadget now has API for this; use it.

10 years agobox gadget: Make it possible to draw focus
Matthias Clasen [Sat, 20 Feb 2016 15:43:54 +0000 (10:43 -0500)]
box gadget: Make it possible to draw focus

There are widgets which use a box gadget and take focus,
like GtkCheckButton.

10 years agox11: Some cleanups to the multihead initialization
Matthias Clasen [Sat, 20 Feb 2016 15:19:13 +0000 (10:19 -0500)]
x11: Some cleanups to the multihead initialization

The significant change here is a memory leak fix in init_xrandr15.
The rest of the changes makes init_xrandr13 and init_xrandr15 more
parallel, and simplifies init_multihead.

10 years agoX11, GdkScreen: properly implement init_randr15 including output name
Marco Trevisan (Treviño) [Sat, 20 Feb 2016 00:31:59 +0000 (01:31 +0100)]
X11, GdkScreen: properly implement init_randr15 including output name

https://bugzilla.gnome.org/show_bug.cgi?id=762319

10 years agoAdwaita: scale slider assets refresh
Lapo Calamandrei [Sat, 20 Feb 2016 15:07:00 +0000 (16:07 +0100)]
Adwaita: scale slider assets refresh

...and update the theme accordingly.

10 years agoentry: Make get_text_area_size() vfunc work again
Benjamin Otte [Sat, 20 Feb 2016 02:22:58 +0000 (03:22 +0100)]
entry: Make get_text_area_size() vfunc work again

GdTaggedEntry needs that. Though there's probably a bunch of work left
inside GdTaggedEntry to make it look cute again (like storing the area
it reserves for itself to allocate tags in).

10 years agoAdwaita: check/radio/slider gradient tweaks
Lapo Calamandrei [Fri, 19 Feb 2016 17:03:38 +0000 (18:03 +0100)]
Adwaita: check/radio/slider gradient tweaks

10 years agowayland: Implement gtk_shell.set_startup_id
Carlos Garnacho [Sat, 6 Feb 2016 14:07:52 +0000 (15:07 +0100)]
wayland: Implement gtk_shell.set_startup_id

Fetch the DESKTOP_STARTUP_ID envvar at the same point it's done
for the X11 backend, and notify the startup ID gotten on
notify_startup_complete().

10 years agowayland: Update gtk-shell protocol to v3
Carlos Garnacho [Sat, 6 Feb 2016 14:06:59 +0000 (15:06 +0100)]
wayland: Update gtk-shell protocol to v3

Add a gtk_shell.set_startup_id request, so the application can communicate
to the compositor the startup id that it received through the
DESKTOP_STARTUP_ID envvar, or other means.

10 years agoWin32: free the monitors array
Paolo Borelli [Fri, 19 Feb 2016 14:40:30 +0000 (15:40 +0100)]
Win32: free the monitors array

10 years agoWin32: chain up screen finalize
Paolo Borelli [Fri, 19 Feb 2016 14:40:09 +0000 (15:40 +0100)]
Win32: chain up screen finalize

Add the proper chain up (in preparation to actually freeing stuff) and
remove the empty dispose implementation

10 years agoWin32: remove the _gdk_monitors global variable
Paolo Borelli [Thu, 18 Feb 2016 14:51:41 +0000 (15:51 +0100)]
Win32: remove the _gdk_monitors global variable

Make it a field of GdkWin32Screen since that is the object exposing
all the the getters.

10 years agoWin32: remove the _is_win8_or_above global variable
Paolo Borelli [Thu, 18 Feb 2016 16:33:29 +0000 (17:33 +0100)]
Win32: remove the _is_win8_or_above global variable

10 years agoRevert "Adwaita: restrict button transition"
Lapo Calamandrei [Fri, 19 Feb 2016 13:39:14 +0000 (14:39 +0100)]
Revert "Adwaita: restrict button transition"

Shouldn't be needed with recent Benjamin work.
This reverts commit 79ca3f03a8de0fa0f7a846ea72d479066a15dbd7.

10 years agoRevert "Adwaita: only needed properties on entry transition"
Lapo Calamandrei [Fri, 19 Feb 2016 13:38:22 +0000 (14:38 +0100)]
Revert "Adwaita: only needed properties on entry transition"

Shouldn't be needed with recent Benjamin work.
This reverts commit d57f4a781cbcab7eb0912edf0ccbf811090067ce.

10 years agogdk: Add a way to show included backends
Matthias Clasen [Fri, 19 Feb 2016 03:03:12 +0000 (22:03 -0500)]
gdk: Add a way to show included backends

Set GDK_BACKEND=help to see a list of all inluded GDK backends.

10 years agocss: Don't start transitions when the value didn't change
Benjamin Otte [Thu, 18 Feb 2016 22:55:00 +0000 (23:55 +0100)]
css: Don't start transitions when the value didn't change

This stops us from starting a lot of useless transitions. And it's even
conformant with the CSS spec!

10 years agogtkcsscalcvalue: avoid unitialized boolean
Carlos Soriano [Thu, 18 Feb 2016 14:27:25 +0000 (15:27 +0100)]
gtkcsscalcvalue: avoid unitialized boolean

Since we do an OR afterwards, initializing to FALSE is correct.

10 years agogtkplacessidebar: remove unneeded condition
Carlos Soriano [Thu, 18 Feb 2016 09:53:35 +0000 (10:53 +0100)]
gtkplacessidebar: remove unneeded condition

We check for it before anyway, and in this case make sense to show the
eject button in both cases.

10 years agowayland: check for support of xdg_shell interface
Olivier Fourdan [Thu, 18 Feb 2016 11:00:23 +0000 (12:00 +0100)]
wayland: check for support of xdg_shell interface

When running with a Wayland compositor which doesn't support the
xdg_shell interface, gtk+ will segfault while trying to access the
corresponding wl proxy.

Check for xdg_shell support and do not use Wayland if not present, so
that it can fallback to X11, hoping that Xwayland is usable.

Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=762258

10 years agoUpdated Spanish translation
Daniel Mustieles [Thu, 18 Feb 2016 14:15:57 +0000 (14:15 +0000)]
Updated Spanish translation

10 years agoDocument that GtkApplication loads gtk/menus-common.ui
Phillip Wood [Wed, 17 Feb 2016 10:10:25 +0000 (10:10 +0000)]
Document that GtkApplication loads gtk/menus-common.ui

Add a comment about the resource gtk/menus-common.ui to the
documentation of the other resources loaded by GtkApplication.

https://bugzilla.gnome.org/show_bug.cgi?id=761432

10 years agoDocument help overlay action name in GtkApplication
Phillip Wood [Wed, 17 Feb 2016 10:07:02 +0000 (10:07 +0000)]
Document help overlay action name in GtkApplication

This means all the information needed to automatically load a
shortcuts window and create a menu item to show it is in one place.

https://bugzilla.gnome.org/show_bug.cgi?id=761431

10 years agoAdwaita: only needed properties on entry transition
Lapo Calamandrei [Thu, 18 Feb 2016 13:30:23 +0000 (14:30 +0100)]
Adwaita: only needed properties on entry transition

made things properly in the process creating a sass function to
handle transition properties stacking.

10 years agoAdwaita: restrict button transition
Lapo Calamandrei [Thu, 18 Feb 2016 12:24:42 +0000 (13:24 +0100)]
Adwaita: restrict button transition

we use to animate "all" in the transition, this seems to trigger
some weird gtk sizing issue, restricting the transition to just
the needed properties fixes.

10 years agoAdwaita: housekeeping
Lapo Calamandrei [Thu, 18 Feb 2016 11:26:19 +0000 (12:26 +0100)]
Adwaita: housekeeping

cleaned up unneded selectors and leftovers from previous versions.

10 years agoUpdated German translation
Mario Blättermann [Thu, 18 Feb 2016 09:08:00 +0000 (10:08 +0100)]
Updated German translation

10 years agoUpdated Polish translation
Piotr Drąg [Wed, 17 Feb 2016 21:02:17 +0000 (22:02 +0100)]
Updated Polish translation

10 years agoUpdated Slovak translation
Dušan Kazik [Wed, 17 Feb 2016 20:56:02 +0000 (20:56 +0000)]
Updated Slovak translation

10 years agoAdwaita: reset the shadow on disabled scales
Lapo Calamandrei [Wed, 17 Feb 2016 19:00:57 +0000 (20:00 +0100)]
Adwaita: reset the shadow on disabled scales

10 years agoAdwaita: unused assets cleanup
Lapo Calamandrei [Wed, 17 Feb 2016 14:22:36 +0000 (15:22 +0100)]
Adwaita: unused assets cleanup

10 years agoAdwaita: added a new mixin for check/radio/sliders
Lapo Calamandrei [Wed, 17 Feb 2016 14:18:59 +0000 (15:18 +0100)]
Adwaita: added a new mixin for check/radio/sliders

some clean up in the process. The gradient still need some love.

10 years agoAdwaita: _drawing cleanup
Lapo Calamandrei [Wed, 17 Feb 2016 13:35:47 +0000 (14:35 +0100)]
Adwaita: _drawing cleanup

10 years agowin32 theme: Add checkbutton spacing
Benjamin Otte [Mon, 15 Feb 2016 05:51:45 +0000 (06:51 +0100)]
win32 theme: Add checkbutton spacing

The number is taken right from Wine source code.

10 years agowin32 theme: Query theme borders when rendering buttons
Benjamin Otte [Mon, 15 Feb 2016 05:50:49 +0000 (06:50 +0100)]
win32 theme: Query theme borders when rendering buttons

If someone figures out where the remaining pixel comes from: Tell me!

10 years agowin32 theme: Add a way to query border of theme parts
Benjamin Otte [Mon, 15 Feb 2016 05:50:22 +0000 (06:50 +0100)]
win32 theme: Add a way to query border of theme parts

10 years agowin32 theme: Add a hack that selects the right font on Windows 8
Benjamin Otte [Mon, 15 Feb 2016 05:48:48 +0000 (06:48 +0100)]
win32 theme: Add a hack that selects the right font on Windows 8

Someone needs to figure out why the default font is wrong.

10 years agowin32: Add fallback code to draw theme parts
Benjamin Otte [Wed, 17 Feb 2016 03:18:29 +0000 (04:18 +0100)]
win32: Add fallback code to draw theme parts

10 years agowin32: Split out fallback code into separate file
Benjamin Otte [Wed, 17 Feb 2016 01:43:18 +0000 (02:43 +0100)]
win32: Split out fallback code into separate file

(1) Actual Windows users don't care about it
(2) It's easier to get rid of

10 years agowin32 theme: Require comma between part and state ID
Benjamin Otte [Wed, 17 Feb 2016 01:42:35 +0000 (02:42 +0100)]
win32 theme: Require comma between part and state ID

10 years ago3.19.9
Matthias Clasen [Wed, 17 Feb 2016 00:35:19 +0000 (19:35 -0500)]
3.19.9

10 years agoplaces sidebar: Use the right marshallers
Matthias Clasen [Wed, 17 Feb 2016 00:20:22 +0000 (19:20 -0500)]
places sidebar: Use the right marshallers

We are passing the mount operation as argument, so use
a marshaller that expects an object argument.

10 years agogtkplacessidebar: remove notification handling
Carlos Soriano [Mon, 15 Feb 2016 18:09:54 +0000 (19:09 +0100)]
gtkplacessidebar: remove notification handling

We were notifying when an unmount operation was performed. However,
creating notifications from the gtk+ library is not that expected, and
makes notification handling difficult to do from the application point
of view since we cannot dismiss those notifications.

This cause issues like notifications of unmount drives stay there after
a system reboot, which confuses the user.

Instead of that, remove the notification handling for mount operations
on gtk+ and instead create a new signal on the gtkplacessidebar in order
to inform applications using it about an operation about to start.

Only drawback about this is that the GtkFileChooser loses its
notifications when unmounting, that although we could use the new signal
to do it, we actually don't want to notify from any part of gtk+ for
now.

https://bugzilla.gnome.org/show_bug.cgi?id=753351

10 years agoAdd message contexts to translated strings
Matthias Clasen [Tue, 16 Feb 2016 23:33:16 +0000 (18:33 -0500)]
Add message contexts to translated strings

The string "None" is used in multiple contexts; add message contexts
to give translators a chance to translate them accordingly.

https://bugzilla.gnome.org/show_bug.cgi?id=762165

10 years agoprinting: Add message contexts
Matthias Clasen [Tue, 16 Feb 2016 23:05:32 +0000 (18:05 -0500)]
printing: Add message contexts

Some of the translated strings in the cups printbackend are short
and generic and might occur in other contexts. Give them disambiguating
message contexts to avoid translation problems.

10 years agowayland: Only attach the buffer if there was damage
Jonas Ådahl [Tue, 16 Feb 2016 05:05:25 +0000 (13:05 +0800)]
wayland: Only attach the buffer if there was damage

There is no point in attaching and then committing the same buffer if
there was no damage. This will also make us do less unnecessary backfill
read backs, for the cases where we paint with an empty paint region.

https://bugzilla.gnome.org/show_bug.cgi?id=762120

10 years agowayland: Handle after-paint invocations when nothing was painted
Jonas Ådahl [Tue, 16 Feb 2016 04:41:57 +0000 (12:41 +0800)]
wayland: Handle after-paint invocations when nothing was painted

If a after-paint was scheduled but nothing was painted, for example when
the it was scheduled by a subsurface wanting to update its position,
we'd still try to read back from the backfill cairo surface and update
the committed cairo surface reference even though no buffer was
attached.

Fix this by adding a new state, 'pending_buffer_attached', which is only
true if a buffer was attached during frame. Only when this is true will
the backfill be read back and the committed cairo surface reference be
updated.

https://bugzilla.gnome.org/show_bug.cgi?id=762120

10 years agoAdwaita: add a top border to the filechooser bottom bar
Lapo Calamandrei [Tue, 16 Feb 2016 19:49:05 +0000 (20:49 +0100)]
Adwaita: add a top border to the filechooser bottom bar

10 years agoAdwaita: use Matthias provided ID for the previous commit style
Lapo Calamandrei [Tue, 16 Feb 2016 19:44:16 +0000 (20:44 +0100)]
Adwaita: use Matthias provided ID for the previous commit style

10 years agoAdwaita: add back a bottom border on the pathbar/entry box
Lapo Calamandrei [Tue, 16 Feb 2016 19:39:25 +0000 (20:39 +0100)]
Adwaita: add back a bottom border on the pathbar/entry box

10 years agofile chooser: Add an ID to the box around the pathbar
Matthias Clasen [Tue, 16 Feb 2016 19:36:32 +0000 (14:36 -0500)]
file chooser: Add an ID to the box around the pathbar

Having an ID makes it easier to style this appropriately.

10 years agoAdwaita: make tab child not cover the active tab indication
Lapo Calamandrei [Tue, 16 Feb 2016 19:27:06 +0000 (20:27 +0100)]
Adwaita: make tab child not cover the active tab indication

in the process make the focus outline clearer.

10 years agoAdwaita: places sidebar eject button sizing
Lapo Calamandrei [Tue, 16 Feb 2016 19:17:43 +0000 (20:17 +0100)]
Adwaita: places sidebar eject button sizing

10 years agoAdwaita: places sidebar sizing with min-height...
Lapo Calamandrei [Tue, 16 Feb 2016 17:23:09 +0000 (18:23 +0100)]
Adwaita: places sidebar sizing with min-height...

...more to come.

10 years agoAdwaita: make tab buttons square once again
Lapo Calamandrei [Tue, 16 Feb 2016 16:54:31 +0000 (17:54 +0100)]
Adwaita: make tab buttons square once again

10 years agoAdwaita: be more specific about menu items height
Lapo Calamandrei [Tue, 16 Feb 2016 16:40:13 +0000 (17:40 +0100)]
Adwaita: be more specific about menu items height

setting a 16px min-height (same as a check/radio) and resetting
margins on check/radio to workaround a sizing issues there.

10 years agoAdd -gtk-image-effect alias for -gtk-icon-effect
Christoph Reiter [Tue, 16 Feb 2016 14:49:23 +0000 (15:49 +0100)]
Add -gtk-image-effect alias for -gtk-icon-effect

The property name was changed in 2396265523dfc6. This makes sure
apps using it don't break and get a helpful warning instead.

10 years agoUpdates
Matthias Clasen [Tue, 16 Feb 2016 04:05:06 +0000 (23:05 -0500)]
Updates

10 years agoAdd a release note about level bar changes
Matthias Clasen [Tue, 16 Feb 2016 03:43:56 +0000 (22:43 -0500)]
Add a release note about level bar changes

10 years agoAdd a release note about window size saving
Matthias Clasen [Tue, 16 Feb 2016 03:17:41 +0000 (22:17 -0500)]
Add a release note about window size saving

10 years agofile chooser: Reload current dir when switching from search mode
Matthias Clasen [Tue, 16 Feb 2016 03:06:17 +0000 (22:06 -0500)]
file chooser: Reload current dir when switching from search mode

The need for this was pointed out by Evangelos Foutras in
https://bugzilla.gnome.org/show_bug.cgi?id=761757

10 years agocellrenderertoggle: Change "indicator-size" handling
Benjamin Otte [Tue, 16 Feb 2016 01:41:44 +0000 (02:41 +0100)]
cellrenderertoggle: Change "indicator-size" handling

The following changes were done to (hopefully) achieve backwards
compatibility while allowing themes to change the size of the indicator.

(1) Deprecate the property.
(2) Change the default value of the property to 0. If it is not 0,
    use the property's value for the indicator size. This should make
    all programs that actually set it keep the size they set it to.
(3) If set to other values than 0, use min-width/min-height of the
    check/radio node to size the indicator. This allows themes to change
    the size.
(4) Fall back to the previous default size of 16px. This way themes that
    do not set the size keep the same behavior.

10 years agowin32 theme: Include the default win32 colors
Benjamin Otte [Mon, 15 Feb 2016 23:22:40 +0000 (00:22 +0100)]
win32 theme: Include the default win32 colors

10 years agowin32 theme: Always include the win32 theme
Benjamin Otte [Mon, 15 Feb 2016 23:22:12 +0000 (00:22 +0100)]
win32 theme: Always include the win32 theme

It's not very useful outside of Windows so far, but that will hopefully
change.

10 years agoAdwaita: stop using assets for treeview check/radio...
Lapo Calamandrei [Tue, 16 Feb 2016 01:11:12 +0000 (02:11 +0100)]
Adwaita: stop using assets for treeview check/radio...

...the sizing is still off, waiting for Benjamin to add the magic,
probably the icon shadow is missing, not sure since it's blurry.
This needs to be reverted in case the sizing won't get fixed.

10 years agoSome more CSS node tests for notebooks
Matthias Clasen [Mon, 15 Feb 2016 19:20:48 +0000 (14:20 -0500)]
Some more CSS node tests for notebooks

10 years agogdkdnd: Stick to the first gdk_drag_drop_done() result
Carlos Garnacho [Mon, 15 Feb 2016 17:56:42 +0000 (18:56 +0100)]
gdkdnd: Stick to the first gdk_drag_drop_done() result

That way we can let ::cancel callers to override the visual
result of the operation (eg. when detaching notebook tabs on
NO_TARGET).

Also, document gdk_drag_drop_done() so it is mentioned that
this is a one-shot call.

https://bugzilla.gnome.org/show_bug.cgi?id=761954

10 years agoAdwaita: correctly style arrows wrt tab position
Lapo Calamandrei [Mon, 15 Feb 2016 17:39:50 +0000 (18:39 +0100)]
Adwaita: correctly style arrows wrt tab position

10 years agoUpdated Swedish translation
Anders Jonsson [Mon, 15 Feb 2016 17:39:17 +0000 (17:39 +0000)]
Updated Swedish translation

10 years agoUpdated Swedish translation
Anders Jonsson [Mon, 15 Feb 2016 17:38:07 +0000 (17:38 +0000)]
Updated Swedish translation

10 years agogdkdnd: Make GtkDragContext::cancel RUN_LAST
Carlos Garnacho [Mon, 15 Feb 2016 16:05:50 +0000 (17:05 +0100)]
gdkdnd: Make GtkDragContext::cancel RUN_LAST

The default implementation code should act as a catch-all fallback,
we let the connected handlers to run first then.

https://bugzilla.gnome.org/show_bug.cgi?id=761954

10 years agogdk: Add GdkDragCancelReason enum as argument to GdkDragContext::cancel
Carlos Garnacho [Mon, 15 Feb 2016 16:02:14 +0000 (17:02 +0100)]
gdk: Add GdkDragCancelReason enum as argument to GdkDragContext::cancel

We should conform to a minimal set of reasons for the gtk side to emit
a better GtkDragResult than GTK_DRAG_RESULT_ERROR. This fixes the notebook
tab DnD feature, where we rely on GTK_DRAG_RESULT_NO_TARGET.

In the wayland side, unfortunately we can't honor either NO_TARGET nor
USER_CANCELLED, we don't know of the latter, so we could return false
positives on the former.

https://bugzilla.gnome.org/show_bug.cgi?id=761954

10 years agocellrendertoggle: Draw background + frame for mark
Benjamin Otte [Mon, 15 Feb 2016 17:16:32 +0000 (18:16 +0100)]
cellrendertoggle: Draw background + frame for mark

Also compute padding and borders properly for the marks.